package com.dididoctor.patient.Activity.OneToOneChat;

import com.dididoctor.patient.Bean.MessageChatBean;
import com.dididoctor.patient.MV.IBaseView;

import java.util.List;

/**
 * Created by 张强 on 15/4/12.
 */
public interface OneToOneChatView extends IBaseView {


    /**
     * 填充消息
     *
     * @param chatMessageList
     */
    public void fillData(List<MessageChatBean> chatMessageList);


    /**
     * 追加一组消息
     *
     * @param chatMessageList
     */
    public void addData(List<MessageChatBean> chatMessageList);

    /**
     * 追加一条消息
     *
     * @param message
     */
    public void append(MessageChatBean message);


    /**
     * 进度
     *
     * @param bytesWritten
     * @param totalSize
     */
    public void onProgress(int bytesWritten, int totalSize);

    public void sendTextOver();
}
